package org.employee.testing;

public class EmpBusinessLogic {

	public Double calculateYearlySalary(EmployeeDetails details) {

		Double yearlySalary = 0.0;

		yearlySalary = (details.getSalary() * 12);

		return yearlySalary;

	}

	public Double calcuateYearlyAppraisel(EmployeeDetails details) {

		if (details.getSalary() > 10000) {

			return 500.00;
		} else

			return 200.00;
	}
}
